#ifndef _ELLI_FITT_H
#define _ELLI_FITT_H

#include "stdio.h"
#include "string.h"
#include "math.h"
#include "at32f435_437.h"
#define MATRIX_SIZE 6

#define Fitting_NUM 20

typedef struct
{
	float Data_X0;
	float Data_Y0;
	float Data_Z0;
	
	float Data_A;
	float Data_B;
	float Data_C;
	
}Ellipsoid_fitting_Data_t;
void Ellipsoid_fitting_Process(float *x, float y[],float z[]);
const Ellipsoid_fitting_Data_t *get_Ellipsoid_fitting_Data(void);

#endif

